/**
*┌──────────────────────────────────────────────────────────────┐
*│　描    述：SysLog服务接口                                                    
*│　作    者：sys                                              
*│　创建时间：2020-12-02 14:55:26   
*│　说    明：代码生成器生成   
*└──────────────────────────────────────────────────────────────┘
*/
using SXFramWork.Core;
using SXFramWork.Model;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace SXFramWork.Service
{
    /// <summary>
	/// SysLog服务接口
	/// </summary>
    public interface ISysLogService
    {
        /// <summary>
        /// 查询列表
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        Task<IApiResult> Query(LogQueryModel model);
        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="ids"></param>
        /// <returns></returns>
        Task<IApiResult> Delete(string ids);
        /// <summary>
        /// 查询错误日志文件
        /// </summary>
        /// <returns></returns>
        Task<IApiResult> GetErrorLog(string RootPath);
    }
}